﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Configuration;

namespace TesterCRM.Configuration
{
    [ConfigurationCollection(typeof(ProjectElement))]
    internal class ProjectCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement ()
        {
            return new ProjectElement();
        }

        protected override object GetElementKey (ConfigurationElement element)
        {
            return ((ProjectElement)(element)).Name;
        }

        public ProjectElement this[int idx]
        {
            get
            {
                return (ProjectElement)BaseGet(idx);
            }
        }
    }
}
